function [] = iterateAngle( img, identifier, name , save )
%iterates fourier_cut for several angles

if(nargin<4)
    save=false;
end
if(nargin<3)
    name='image';
end
figure();
for angl=0:10:170
    temp_img=fourier_cut(img,identifier,angl);
   
    if(save)
        imwrite(temp_img,['./iterateAngle/' name identifier '_' num2str(angl) '.png'],'PNG');
    else
        imagesc(temp_img);
        pause();
    end
end



end

